package com.songchaojie.service;

import com.github.pagehelper.PageInfo;
import com.songchaojie.entity.City;
import com.songchaojie.entity.Factory;
import com.songchaojie.entity.Supermarket;

import java.util.List;

public interface SupermarketService {

    PageInfo<Supermarket> list(Supermarket supermarket,Integer pageNum,Integer pageSize);

    Integer add(Supermarket supermarket);

    List<Factory> listFactory();

    List<City> listCity(Integer pid);
}
